package com.imooc.miaosha.redis;

public class GoodsKey extends BasePrefix {


    private GoodsKey(int expireSeconds , String prefix){
       super(expireSeconds,prefix);
   }
    // 防止瞬间
    public static GoodsKey getGoodsList = new GoodsKey(60,"gl");
    public static GoodsKey getGoodsDetail = new GoodsKey(60,"gd");
    public static GoodsKey getMiaoshaGoodsStock = new GoodsKey(0, "gs");

}
